JavaScript

listObj.searchModeOn Method

Syntax

listObj.searchModeOn();

Description

If the List Search Part is set to 'QueryByForm' then turns search mode on.

Example

var listObj = {dialog.object}.getControl("LIST1");

if (listObj) {
    listObj.searchModeOn();
}
The search mode can be displayed by adding a Label control to the UX and setting the control's client-side calculated expression to dialog.listDetailView.LISTNAME.mode where 'LISTNAME' would be replaced by the actual List name (in capitals).

Limitations

List Control with Search Part

See Also